package Arrays;
import utils.*;

public class ArrayCopy {
	static public void main(String[] args){
		int[] arr1 = {1,2,3,4,5};
		int[] arr2 = new int[5];
		
		for(int i=0;i<arr2.length;i++){
			Utils.printf("%d ", arr2[i]);
		}
		Utils.println();
		
		for(int i=0;i<arr2.length;i++){
			arr2[i] = arr1[i];
		}
		
		for(int i=0;i<arr2.length;i++){
			Utils.printf("%d ", arr2[i]);
		}
		Utils.println();
	}
}
